package alejandro.castro.extras;

import java.awt.Color;
import java.awt.Font;

import alejandro.castro.arkanoid.ArkanoidScene;

import com.uqbar.vainilla.GameComponent;
import com.uqbar.vainilla.appearances.Appearance;
import com.uqbar.vainilla.appearances.Label;

public class AlertArkanoid extends GameComponent<ArkanoidScene> {

	public AlertArkanoid(String texto, int marginLeft) {
		this.setX(marginLeft);
		this.setY(200);
		Font fuente = new Font(Font.SERIF, Font.BOLD, 40);
		
		Appearance apariencia = new Label(fuente, Color.RED, texto);
		this.setAppearance(apariencia);
	}

}
